package dao;


import entity.UserInfoEntity;
import org.apache.ibatis.annotations.Param;

/**
 * Created by thinkjoy on 2017/8/30.
 */
public interface WsUserDao{
    String findSingleUserInfo(@Param("workerid")String workerid);
    int saveSingleUserInfo(@Param("openid") String openid);
    int updateUserForOpenid(@Param("workerid") String workerid,@Param("openid")String openid);
    String findWorkerIDforOpenId(@Param("openid")String openid);
    String findOpenIdIsExit(@Param("openid")String openid);
    int deleteUserByOpenid(@Param("openid")String openid);
    int saveAllUserInfo(@Param("workerid")String workerid,@Param("openid")String openid);
    UserInfoEntity findUserInfoAll(@Param("workerid")String workerid,@Param("openid")String openid);
}
